// 随机字符串
export const randomStr = (len = 8) => {
    let str = Math.random()
        .toString(36)
        .substring(2, len + 2)
    while (str.length < len) {
        str += Math.random()
            .toString(36)
            .substring(2, len - str.length)
    }
    return str
}
